package ArrayList;

import java.util.ArrayList;

public class test1 {
    public static void main(String[] args) {
        ArrayList<Double> list =   new ArrayList<>();

        list.add(11.1);
        list.add(22.1);
        list.add(33.1);

        ArrayList<String> Slist = new ArrayList<>();
        Slist.add("张三");
        Slist.add("李四");
        System.out.println(list);
        System.out.println(Slist);


    }
}
